export default {
    "border": true,
    "index": true,
    "indexLabel": "序号",
    "stripe": true,
    "menuAlign": "center",
    "editBtn": true,
    "delBtn": true,
    "align": "left",
    "addBtn": true,
    "height": "auto",
    "labelWidth": 160,
    "highlightCurrentRow": true,
    "columnMovable": true,
    "menu": true,
    "dialogClickModal": false,
    "dialogEscape": false,
    "headerMenu": true,
    "autoLoad": false,
    "column": [
        {
            "label": "公司",
            "prop": "companyId",
            "type": "select",
            "sortable": true,
            "overHidden": true,
            "width": 146,
            "dicUrl": "/datatable/getDict/entity:md.company",
            "rules": [
                {
                    "required": true,
                    "message": "请输入公司",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "=",
            "search": true
        },
        {
            "label": "品名",
            "prop": "name",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 232,
            "rules": [
                {
                    "required": true,
                    "message": "请输入品名",
                    "trigger": "blur"
                },
                {
                    "max": 255,
                    "message": "长度小于255个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": true
        },
        {
            "label": "搜索码",
            "prop": "value",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 104,
            "rules": [
                {
                    "max": 50,
                    "message": "长度小于50个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": false
        },
        {
            "label": "商品编码",
            "prop": "code",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 126,
            "rules": [
                {
                    "max": 50,
                    "message": "长度小于50个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": true
        },
        {
            "label": "商品名",
            "prop": "brandName",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 200,
            "rules": [
                {
                    "max": 100,
                    "message": "长度小于100个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": false
        },
        {
            "label": "通用名",
            "prop": "medicineName",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 200,
            "rules": [
                {
                    "max": 100,
                    "message": "长度小于100个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": false
        },
        {
            "label": "规格",
            "prop": "productSpec",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 173,
            "rules": [
                {
                    "max": 100,
                    "message": "长度小于100个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": true
        },
        {
            "label": "厂家",
            "prop": "manufacturer",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 200,
            "rules": [
                {
                    "max": 100,
                    "message": "长度小于100个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": false
        },
        {
            "label": "剂型",
            "prop": "productStyle",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 126,
            "rules": [
                {
                    "max": 50,
                    "message": "长度小于50个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": false
        },
        {
            "label": "产地",
            "prop": "productArea",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 136,
            "rules": [
                {
                    "max": 100,
                    "message": "长度小于100个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": false
        },
        {
            "label": "最小单位",
            "prop": "baseUom",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 100,
            "rules": [
                {
                    "max": 8,
                    "message": "长度小于8个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": false
        },
        {
            "label": "单位转换比",
            "prop": "uomFactor",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 120,
            "align": "right",
            "rules": [],
            "searchOperator": "=",
            "search": false
        },
        {
            "label": "单位",
            "prop": "uom",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 80,
            "rules": [
                {
                    "required": true,
                    "message": "请输入单位",
                    "trigger": "blur"
                },
                {
                    "max": 8,
                    "message": "长度小于8个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": false
        },
        {
            "label": "批准文号",
            "prop": "certificateNo",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 181,
            "rules": [
                {
                    "max": 30,
                    "message": "长度小于30个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": true
        },
        {
            "label": "原批准文号",
            "prop": "oldCertificateNo",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 200,
            "rules": [
                {
                    "max": 100,
                    "message": "长度小于100个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": false
        },
        {
            "label": "是否处方药",
            "prop": "isOtc",
            "valueDefault": false,
            "type": "switch",
            "sortable": true,
            "overHidden": true,
            "width": 120,
            "rules": [],
            "searchOperator": "=",
            "dicData": [
                {
                    "value": true,
                    "label": "是"
                },
                {
                    "value": false,
                    "label": "否"
                }
            ],
            "search": false
        },
        {
            "label": "OTC类型",
            "prop": "otcType",
            "type": "select",
            "sortable": true,
            "overHidden": true,
            "width": 102,
            "dicUrl": "/datatable/getDict/md.product.otcType",
            "rules": [
                {
                    "max": 5,
                    "message": "长度小于5个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": false
        },
        {
            "label": "GTIN",
            "prop": "gtin",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 150,
            "rules": [
                {
                    "max": 30,
                    "message": "长度小于30个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": false
        },
        {
            "label": "是否冷链",
            "prop": "isColdChain",
            "valueDefault": false,
            "type": "switch",
            "sortable": true,
            "overHidden": true,
            "width": 100,
            "rules": [],
            "searchOperator": "=",
            "dicData": [
                {
                    "value": true,
                    "label": "是"
                },
                {
                    "value": false,
                    "label": "否"
                }
            ],
            "search": false
        },
        {
            "label": "是否医保",
            "prop": "isInsurance",
            "valueDefault": false,
            "type": "switch",
            "sortable": true,
            "overHidden": true,
            "width": 100,
            "rules": [],
            "searchOperator": "=",
            "dicData": [
                {
                    "value": true,
                    "label": "是"
                },
                {
                    "value": false,
                    "label": "否"
                }
            ],
            "search": false
        },
        {
            "label": "国家零售价",
            "prop": "priceList",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 120,
            "align": "right",
            "rules": [],
            "searchOperator": "=",
            "search": false
        },
        {
            "label": "国家本位码",
            "prop": "productStateCode",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 200,
            "rules": [
                {
                    "max": 50,
                    "message": "长度小于50个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": false
        },
        {
            "label": "商品类别",
            "prop": "categoryType",
            "type": "select",
            "sortable": true,
            "overHidden": true,
            "width": 100,
            "dicUrl": "/datatable/getDict/md.product.categoryType",
            "rules": [
                {
                    "max": 5,
                    "message": "长度小于5个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": true
        },
        {
            "label": "基本药物分类",
            "prop": "essentialDrugtype",
            "type": "select",
            "sortable": true,
            "overHidden": true,
            "width": 140,
            "dicUrl": "/datatable/getDict/md.product.essentialDrugType",
            "rules": [
                {
                    "max": 2,
                    "message": "长度小于2个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": false
        },
        {
            "label": "用法",
            "prop": "usagesName",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 150,
            "rules": [
                {
                    "max": 30,
                    "message": "长度小于30个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": false
        },
        {
            "label": "剂量",
            "prop": "dosage",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 80,
            "align": "right",
            "rules": [],
            "searchOperator": "=",
            "search": false
        },
        {
            "label": "剂量单位",
            "prop": "dosageUom",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 116,
            "rules": [
                {
                    "max": 30,
                    "message": "长度小于30个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": false
        },
        {
            "label": "剂量单位转换比",
            "prop": "dosageUomFactor",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 143,
            "align": "right",
            "rules": [],
            "searchOperator": "=",
            "search": false
        },
        {
            "label": "是否可用",
            "prop": "isActive",
            "valueDefault": true,
            "type": "switch",
            "sortable": true,
            "overHidden": true,
            "width": 100,
            "rules": [
                {
                    "required": true,
                    "message": "请输入是否可用",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "=",
            "dicData": [
                {
                    "value": true,
                    "label": "是"
                },
                {
                    "value": false,
                    "label": "否"
                }
            ],
            "search": true
        },
        {
            "label": "备注",
            "prop": "remark",
            "type": "textarea",
            "sortable": true,
            "overHidden": true,
            "span": 24,
            "width": 200,
            "rules": [
                {
                    "max": 255,
                    "message": "长度小于255个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": false
        },
        {
            "label": "编码",
            "prop": "id",
            "key": true,
            "hide": true,
            "editDisabled": true,
            "addDisplay": false,
            "editDisplay": false,
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 80,
            "align": "right",
            "showColumn": true,
            "rules": [
                {
                    "required": true,
                    "message": "请输入编码",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "=",
            "search": false
        },
        {
            "label": "创建时间",
            "prop": "createTime",
            "hide": true,
            "editDisabled": true,
            "addDisplay": false,
            "editDisplay": false,
            "more": true,
            "type": "datetime",
            "sortable": true,
            "overHidden": true,
            "width": 130,
            "format": "yyyy-MM-dd HH:mm",
            "valueFormat": "yyyy-MM-dd HH:mm:ss",
            "showColumn": true,
            "rules": [
                {
                    "required": true,
                    "message": "请输入创建时间",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "between",
            "searchDefaultStartDays": 6,
            "searchDefaultEndDays": 0,
            "search": false
        },
        {
            "label": "创建人",
            "prop": "createdBy",
            "hide": true,
            "editDisabled": true,
            "addDisplay": false,
            "editDisplay": false,
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 80,
            "align": "right",
            "showColumn": true,
            "rules": [
                {
                    "required": true,
                    "message": "请输入创建人",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "=",
            "search": false
        },
        {
            "label": "更新时间",
            "prop": "updateTime",
            "hide": true,
            "editDisabled": true,
            "addDisplay": false,
            "editDisplay": false,
            "more": true,
            "type": "datetime",
            "sortable": true,
            "overHidden": true,
            "width": 130,
            "format": "yyyy-MM-dd HH:mm",
            "valueFormat": "yyyy-MM-dd HH:mm:ss",
            "showColumn": true,
            "rules": [
                {
                    "required": true,
                    "message": "请输入更新时间",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "between",
            "searchDefaultStartDays": 6,
            "searchDefaultEndDays": 0,
            "search": false
        },
        {
            "label": "更新人",
            "prop": "updatedBy",
            "hide": true,
            "editDisabled": true,
            "addDisplay": false,
            "editDisplay": false,
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 80,
            "align": "right",
            "showColumn": true,
            "rules": [
                {
                    "required": true,
                    "message": "请输入更新人",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "=",
            "search": false
        }
    ]
}